# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notifyd
pkgver=0.6.1
pkgrel=0
pkgdesc="Notification daemon for the xfce desktop"
url="https://docs.xfce.org/apps/notifyd/"
arch="all"
license="GPL-2.0-or-later"
depends="hicolor-icon-theme"
makedepends="gtk+3.0-dev libxfce4util libxfce4ui-dev libsexy-dev xfconf-dev
	dbus-glib-dev libglade-dev libnotify-dev xfce4-panel-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="https://archive.xfce.org/src/apps/xfce4-notifyd/${pkgver%.*}/xfce4-notifyd-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install

	rm -rf "$pkgdir"/usr/lib/systemd
}

sha512sums="d48752cd4e02e515e4c5d147b7bce678a56f47f0bd336e3b9db4e14fc2b0355e0582816957fc43c313a5779b5495c836ee5da4f0cb83616a0164d692a169415f  xfce4-notifyd-0.6.1.tar.bz2"
